package com.ruoyi.sys.personnel.controller;


import com.ruoyi.common.core.domain.R;
import com.ruoyi.sys.personnel.service.TbAuditService;
import com.ruoyi.sys.personnel.vo.TbAuditVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "人员管理", tags = "人员管理接口")
@CrossOrigin
@RestController
public class TbAuditController {
    @Autowired
    private TbAuditService tbAuditService;
    @ApiOperation(value = "访客管理接口-访客审核接口-查所有")
    @GetMapping("/tbAudit")
    public R getAll(TbAuditVO vo){
        return tbAuditService.getAll(vo);
    }
}
